<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Agid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-agid" data-rule="" class="form-control" name="" type="hidden" value="{$row.agid|htmlentities}">
            <input id="c-agid" data-rule="" class="form-control" readonly type="text" value="{$row.user|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pro_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <!-- <input id="c-pro_id" data-rule="required" data-source="pro/index" class="form-control selectpage" name="row[pro_id]" type="text" value="{$row.pro_id|htmlentities}">  -->
            <select id="c-lev_id" data-rule="" required class="form-control selectpicker" name="" disabled>
                <option value="">请选择等级</option>
                {foreach name="proArr" item="vo" key="key"}
                <option value="{$vo['id']}" {in name="vo.id" value="$row.pro_id"} selected {/in} >{$vo['name']}</option>
                {/foreach}
            </select>
        </div>

    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sn')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sn" class="form-control" name="" readonly type="text" value="{$row.sn|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">变更类型:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-apply_typs" class="form-control" name="" readonly type="text" value="{$row.typs|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Nums')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-nums" data-rule="" class="form-control" readonly name="" type="number" value="{$row.nums|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Orig_rate')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-orig_rate" class="form-control" step="0.01" readonly name="" type="number" value="{$row.orig_rate|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Appy_rate')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-appy_rate" class="form-control" step="0.01" readonly name="" type="number" value="{$row.appy_rate|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">审核状态:</label>
        <div class="col-xs-12 col-sm-8">

            <select id="c-is_apply" data-rule="required" class="form-control selectpicker" name="row[is_apply]">
                {foreach name="isApplyList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.is_apply"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">订单状态:</label>
        <div class="col-xs-12 col-sm-8">

            <div class="radio">
                {foreach name="statusList" item="vo"}
                <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">生效时间:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-appy_rate" class="form-control" name="row[is_take]" type="hidden" value="{$row.is_take}">
            <select id="c-is_apply" data-rule="required" disabled class="form-control selectpicker" name="">
                    <option value="0">请选择</option>
                    <option value="1" {if $row.is_take == 1} selected {/if}>T+0</option>
                    <option value="2" {if $row.is_take == 2} selected {/if}>D+1</option>
                    <option value="3" {if $row.is_take == 3} selected {/if}>立即生效</option>
            </select>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>